From 6ad77059f1f4f56b90e0ed5c073301cd79a59db8 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Mon, 5 Mar 2007 19:01:19 +0000 Subject: [PATCH] Install pygrub according to auxbin rules. Signed-off-by: Keir Fraser --- tools/pygrub/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index 2e7b3e4d21..f96dd03aa3 100644 --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -10,8 +10,9 @@ build: .PHONY: install ifndef XEN_PYTHON_NATIVE_INSTALL +install: LIBPATH=$(shell PYTHONPATH=../python/xen/util python -c "import auxbin; print auxbin.libpath()") install: all - CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" + CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --install-lib="$(DESTDIR)$(LIBPATH)/python" $(INSTALL_DIR) -p $(DESTDIR)/var/run/xend/boot else install: all -- 2.30.2